﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MemoLib
{
    public enum TaskType
    { 
        Once,Cycle
    }
    public enum FrequencyType
    { 
        Month,
        Week,
        Day,
        Hour
    }

    public enum OperationMode
    { 
        Create,
        Update,
        Copy
    }

    public class CommonData
    {
        public const string ID = "[ID]";
        public const string LASTEXECUTEDATETIME = "LastExecuteDateTime";

        public const string ONCETASK_SHEETNAME = "Sheet1";
        public const string ONCETASK_STATUS = "状态";
        public const string ONCETASK_STATUS_COMPLETE = "已完成";
        public const string ONCETASK_CREATEDATE = "创建日期";
        public const string ONCETASK_ID = "ID";
        public const string ONCETASK_TYPE = "类型";
        public const string ONCETASK_CONTEXT = "内容";
        public const string ONCETASK_EXECUTEDATE = "最迟完成日期";
        public const string ONCETASK_DONEDATE = "实际完成日期";
        public const string ONCETASK_NOTE = "备注";

        public const string CYCLETASK_SHEETNAME = "Sheet2";
        public const string CYCLETASK_TYPE = "[Type]";
        public const string CYCLETASK_FREQUENCY = "[Frequency]";
        public const string CYCLETASK_QUANTITY = "[Quantity]";
        public const string CYCLETASK_MONTH = "[Month]";
        public const string CYCLETASK_WEEKDAY = "[Weekday]";
        public const string CYCLETASK_DAY = "[Day]";
        public const string CYCLETASK_HOUR = "[Hour]";
        public const string CYCLETASK_MINUTE = "[Minute]";
        public const string CYCLETASK_CONTEXT = "[Context]";
        public const string CYCLETASK_NEXT = "[NextExecuteTime]";
        public const string CYCLETASK_IFONLYWORKDAY = "[IfOnlyWorkDay]";

        public const string TODOTASK_SHEETNAME = "Sheet3";
        public const string TODOTASK_CONTEXT = "[Context]";
        public const string TODOTASK_STATUS = "[Status]";
        public const string TODOTASK_REMINDDATETIME = "[RemindDateTime]";
        public const string TODOTASK_TASKTYPE = "[TaskType]";
        public const string TODOTASK_STATUS_COMPLETE = "OK";

        public const string WEBSITE_SPLIT = "#Website:";
        public const int LOCATION_OFFSET = 15;
        public const string OPERATIONTYPE_MESSAGE = "message";
        public const string OPERATIONTYPE_APP = "app";
    }
}
